//得到总价
var totalPrice = getQuery("totalPrice")
/**
 * 提交订单
 */
function submitOrder() {
    axios.get("/custom/order/addOrder",{
        params:{
            accept:$("accept").value,
            address:$("address").value,
            phone:$("phone").value,
            totalPrice
        }
    }).then(e =>{
        if (e.data == "ok"){
            location.href = "/index.html";
        }
    })
}